Skip to content

fix(ftxui): bump port-version 4→5 补 PR #38 遗漏 + add-tui-hyperlinks 收尾文档 - #39

Open
LIUXIN557 wants to merge 2 commits into
masterfrom
fix/ftxui-vcpkg-bump-openspec-wrapup
Open

fix(ftxui): bump port-version 4→5 补 PR #38 遗漏 + add-tui-hyperlinks 收尾文档#39
LIUXIN557 wants to merge 2 commits into
masterfrom
fix/ftxui-vcpkg-bump-openspec-wrapup

Conversation

@LIUXIN557

Copy link
Copy Markdown
Collaborator

背景

PR #38bbe73202)将 external/ftxui gitlink 前移至 f98588b4(hover 补丁头,修复 master 构建),但漏了同步 bump ports/ftxui/vcpkg.json 的 port-version

portfile.cmake 明文规则:vcpkg 的 ABI hash 只由 portfile.cmake + vcpkg.json 计算,从不读 SOURCE_PATH 下的源码——gitlink 变更若不 bump port-version,任何带 vcpkg 缓存的增量构建都会静默沿用旧 ftxui,报 EnableMouseHoverMotion is not a member of ftxui::App(本地已实测踩坑)。master 当前 port-version=4 正是这个隐患状态。

改动

提交 1 — fix(ftxui): bump port-version 4→5

  • ports/ftxui/vcpkg.json:port-version 4→5,使 vcpkg ABI hash 失效并重建带 hover 补丁的 ftxui 7.0.3#5

提交 2 — docs(openspec): add-tui-hyperlinks 收尾

  • openspec/changes/add-tui-hyperlinks/tasks.md:勾选 6.1–6.3(附验证备注:本地重编 390 单元通过、全量单测 3766 PASS / 9 失败 == 基线零回归、openspec validate --strict 通过)
  • 新增 verification-checklist.md:6.4/6.5 人工验收矩阵(iTerm2×15 / Apple Terminal.app×4 / Windows Terminal×4,按 spec 场景逐条映射)
  • 新增 manual-test-cases.md:B1–B6 真机验收提示词+用例手册
  • 注:根 .gitignore 忽略 openspec/,新文件按既有惯例 force-add(同 dbcdf45d

验证

  • 本地已按 7.0.3#5 全量重建 + 单测零回归(09-02 完成)
  • openspec validate add-tui-hyperlinks --strict → Change is valid

待办(不属于本 PR)

  • 6.4/6.5 人工验收矩阵需用户真机操作(iTerm2 / Apple Terminal / Windows Terminal),checklist 已备好

PR #38 only moved the submodule gitlink to f98588b4 (hover patch head)
but left ports/ftxui/vcpkg.json at port-version 4. Per the rule in
portfile.cmake, vcpkg computes its ABI hash from vcpkg.json alone and
never re-reads the sources under SOURCE_PATH, so any incremental build
with an existing vcpkg_installed would silently keep using the old
ftxui and fail to compile (EnableMouseHoverMotion not a member of
ftxui::App). Bump to 5 so the hash is invalidated and the rebuilt
ftxui 7.0.3#5 (with the hover patch) is actually picked up.
…docs

tasks.md: tick 6.1-6.3 with verification notes (gitlink landed via PR #38,
local rebuild ftxui 7.0.3#5 + full unit run 3766 pass / 9 known baseline
failures -> zero regression, openspec validate --strict passed).
New verification-checklist.md (iTerm2 x15 / Terminal.app x4 / Windows
Terminal x4 matrix mapped from spec scenarios) and manual-test-cases.md
(B1-B6 prompt + expected-render + action pairs for real-terminal checks).

Note: openspec/ is gitignored at repo root; these files are force-added,
consistent with existing tracked openspec changes (dbcdf45).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants